package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.BusinessCardRequest;
import one.stand.response.BusinessCardResponse;
import one.stand.response.GetCompanyStaffResponse;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 */
public interface BusinessCardService {

    /**
     * crm端查询名片列表
     *
     * @param request
     * @return
     */
    ResultModel<List<BusinessCardResponse>> selectBusinessCardList(BusinessCardRequest request);

    /**
     * crm端查询名片列表
     *
     * @param request
     * @return
     */
    ResultModel<Boolean> updateCardWelcomeSpeech(BusinessCardRequest request);

    /**
     * 获取公司员工
     *
     * @param request
     * @return
     */
    ResultModel<Map<String, Object>> getCompanyStaffList(BusinessCardRequest request);

    /**
     * 得到公司员工信息
     *
     * @param request
     * @return
     */
    ResultModel<GetCompanyStaffResponse> getCompanyStaffInfo(BusinessCardRequest request);

    /**
     * 手动创建客户
     *
     * @param request
     * @return
     */
    ResultModel<Integer> manualAdd(BusinessCardRequest request);

    /**
     * 手动修改客户
     *
     * @param request
     * @return
     */
    ResultModel updAdd(BusinessCardRequest request);
}
